//
//  ZTY_NetHander.h
//  About_Travel
//
//  Created by 赵佟越 on 15/10/21.
//  Copyright © 2015年 赵佟越. All rights reserved.
//

#import <Foundation/Foundation.h>

typedef void(^JSONBLOCK)(id result);

@interface ZTY_NetHander : NSObject
+ (void)requestGETWithURL:(NSString *)urlStr
                   cookie:(NSString *)cookieStr
               completion:(JSONBLOCK)block;

+ (void)requestPOSTWithURL:(NSString *)urlStr
                    cookie:(NSString *)cookieStr
                bodyParame:(id)body
                completion:(JSONBLOCK)block;

+(void)postUrl:(NSString *)url parame:(id)parame cookie:(NSString *)cookie result:(JSONBLOCK)block;


+ (void)networkReachabilityStatus:(JSONBLOCK)block;
@end
